<template>
    <div id="module">
        <el-header>
                <el-button  type="primary" class="exit" @click="goBack">程</el-button>
                <!-- 面包屑 -->
                 <div class="onimg1">
                  <img src="@/assets/images/index.png" alt="">
                <span style="float:left; margin-left:10px"><b>任务悬赏平台&nbsp;&nbsp;</b></span><span style="font-size:12px; float:left;font-size:12px" >   |&nbsp;&nbsp;企业端</span>
                </div>
                
            </el-header>
       <el-container>
           <!-- 左侧导航 -->
        <EnterpriseNav />
        <el-container>
           
            <el-main><router-view></router-view></el-main>
        </el-container>
       </el-container>
    </div>
</template>

<script>
import EnterpriseNav from './EnterpriseNav'
export default {
   components:{
       EnterpriseNav
   },
    data() {
        return{

        }
        
    },
    methods:{
        goBack(){
            window.sessionStorage.clear();
            this.$router.push('/login');
            this.$message.warning('您已退出企业端账号!');
        }

    }
}
</script>


<style scoped>
.onimg1 img{
    width: 30px;
    height: 30px;
    display: block;
    float: left;
    margin-top: 15px;

  }

.exit{
    float: right;
    margin-top:5px;
    width: 50px;height: 48.5px;
    border-radius:50%;
    border: none;
    color: white;
    background-color: #1B335D;
    

}
  .el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  
  .el-aside {
    background-color: #333;
    color: #D3DCE6;
    text-align: center;
    line-height: 700px;
  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    /* text-align: center; */
    /* line-height: 700px; */
  }
  
  body > .el-container {
    margin-bottom: 40px;
  }
  
  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }
  
  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }
  .el-header{
      background-color: white;
  }
  .el-breadcrumb{
      margin-top: 20px;
  }
</style>